import { createApp } from 'vue';
import App from './App.vue';
import store from './store';
import router from '@/router';

// 创建vue实例
const app = createApp(App);

app.use(store);
app.use(router);

// 挂载实例 -> 确保初始路由解析完成再挂载应用
router.isReady().then(() => {
    app.mount('#app');
});
